﻿package com.vicentediaz.view.menu
{
    import com.vicentediaz.fonts.*;
    import com.vicentediaz.view.general.*;
    import flash.display.*;

    public class MainMenuButton extends ExplodeButton
    {
        public var cache:Sprite;

        public function MainMenuButton(param1:String)
        {
            var _loc_2:* = new PFTempestaText();
            _loc_2.text = param1;
            this.cache = new Sprite();
            this.cache.graphics.beginFill(0, 0);
            this.cache.graphics.drawRect(0, 0, _loc_2.width, _loc_2.height);
            this.cache.graphics.endFill();
            this.cache.addChild(_loc_2);
            addChild(createFrom(this.cache));
            buttonMode = true;
            return;
        }// end function

    }
}
